IClosestPair

Interface for closest pair algorithms.

This interface defines the contract for algorithms that find the closest pair of points in a collection of points in 2D space.

Inheritors

Functions

Link copied to clipboard
abstract fun run(): Result<V>

Runs the algorithm and returns the output.